<h1>Upload</h1>
<p><?php echo $this->translate('currentFolder') . $this->breadcrumb ?></p>
<fieldset>
	<legend><?php echo $this->translate('uploadFile') ?></legend>
	<form method="post" enctype="multipart/form-data" action="<?php echo Media_Url::uploadListUrl() ?>">
		<input type="hidden" name="folder" value="<?php echo $this->folder ?>" />
		<?php for($i=0; $i<$this->i; $i++) : ?>
		<input type="file" name="file[]" class="file" /><br />
		<?php endfor; ?>
		<br />
		<input type="submit" value="<?php echo $this->translate('button:upload') ?>" class="submit"/>
	</form>
</fieldset>
<?php foreach($this->messages AS $message): ?>
<p><?php echo $message ?></p>
<?php endforeach; ?>
<fieldset>
	<legend><?php echo $this->translate('createFolder') ?></legend>
	<form method="post" action="<?php echo Media_Url::uploadMkdirUrl() ?>">
		<input type="hidden" name="folder" value="<?php echo $this->folder ?>" />
		<input type="text" name="dirname" class="text" />
		<input type="submit" value="<?php echo $this->translate('button:create') ?>" class="submit" />
	</form>
</fieldset>